<template>
  <div class="hello-view">hello</div>
</template>

<script>
export default {
  name: "HelloSomeone",
  created() {
    console.log("HelloSomeone - 初始化完成");
  },
  beforeDestroy() {
    console.log("HelloSomeone - 组件销毁");
  },
};
</script>

<style lang="scss" scoped>
.hello-view {
  width: 120px;
  height: 120px;
  background: lightblue;
  color: #333;
  text-align: center;
  line-height: 120px;
  margin: 0 auto;
}
</style>